<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui" xml:lang="pt" lang="pt-br">

<f:view>
	<h:head>
			<title><ui:insert name="title">Presta Contas - Notas Empenho</ui:insert></title>
	</h:head>
	<h:body>
		<h:form id="form">
			
			<h:panelGrid id="outloader" columns="3">
			
				<h:outputText value="Nota do Empenho: "/>
				<h:selectOneMenu id="numEmpenho" value="#{NotasEmpenhoManager.notasEmpenho.numero_empenho}">
				
					<f:selectItem itemLabel="Selecione uma Nota" itemValue="null" />
					<f:selectItems value="#{NotasEmpenhoManager.notasEmpenhos}" var="nota" itemLabel="#{nota.numero_empenho}" itemValue="#{nota.numero_empenho}"/>
					<p:ajax update="outloader" listener="#{NotasEmpenhoManager.selecionarAno}"/>
					
				</h:selectOneMenu>
				<p:message for="numeroEmpenho"/>
			</h:panelGrid>
									
		</h:form>
		
	</h:body>
</f:view>
</html>